EMT Practice Test

1. Question Content...


Question List

Question1: After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

Question2: With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Question3: Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)

Question4: Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)

Question5: Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

Question6: Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

Question7: Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

Question8: Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

Question9: In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

Question10: Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Question11: Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

Question12: What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

Question13: On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?

Question14: Which of the following steps prevents a user from obtaining an interactive login session?

Question15: Which of the following programs can be used to determine the routing path to a given destination?

Question16: On a regular users workstation the route command takes a long time before printing out the routing table.
Which of the following errors does that indicate?

Question17: When the command echo $$ outputs 12942, what is the meaning of 12942?

Question18: Which of the following details is NOT provided in any output from the netstat utility?

Question19: Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Question20: What is the purpose of the Sticky Keys feature in X?

Question21: What is the purpose of the command mailq?

Question22: How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?

Question23: Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

Question24: Which file contains the date of the last change of a user's password?

Question25: What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Question26: Which of the following statements about sytemd-journald are true? (Choose three.)

Question27: Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)

Question28: What is true regarding TCP port 23?

Question29: Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

Question30: Which of the following configuration files should be modified to set default shell variables for all users?

Question31: What is the difference between the commands test -e path and test -f path?

Question32: Which of the following commands shows all active systemd timers?

Question33: Which of the following commands can be used to convert text files in one character encoding to another character encoding?

Question34: What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Question35: Which of the following are syslog facilities? (Choose TWO correct answers.)

Question36: Which of the following features are provided by SPICE? (Choose two.)

Question37: Which TWO statements about crontab are true?

Question38: What output is produced by the following command sequence?
echo '1 2 3 4 5 6' | while read a b c; do
echo result $c $b $a;
done

Question39: Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

Question40: Which of the following commands will help identify a broken router between the local and the remote machine?

Question41: Your senior administrator asked you to change the default background of his machine, which uses XDM.
Which file would you edit to achieve this?

Question42: Which of the following information is stored in /etc/shadow for each user?

Question43: What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

Question44: Which file inside the CUPS configuration directory contains the definition of the printers?

Question45: Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

Question46: Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

Question47: What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Question48: In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Question49: Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

Question50: A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file)

Question51: Which of the following commands can identify the PID od a process which opened a TCP port?

Question52: How is a display manager started?

Question53: Which of the following SQL statements will select the fields name and address from the contacts table?

Question54: What is the purpose of the file /etc/profile?

Question55: An administrator wants to determine the geometry of a particular window in X, so she issues the __________
-metric command and then clicks on the window.

Question56: Which of the following commands lists all defined variables and functions within Bash?

Question57: Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Question58: Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Question59: What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done

Question60: To prevent a specific user from scheduling tasks with at, what should the administrator do?

Question61: Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)

Question62: Where are user specific crontabs stored?

Question63: Which of the following tasks can the date command accomplish? (Choose two.)

Question64: Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

Question65: Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify ONLY the option without any values or parameters.)

Question66: Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

Question67: Why is the correct configuration of a system's time zone important?

Question68: Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Question69: Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

Question70: What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?

Question71: Which of the following commands can be used to limit the amount of memory a user may use?

Question72: Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Question73: Which of the following commands displays all environment and shell variables?

Question74: Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Question75: Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

Question76: What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Question77: Which command allows you to make a shell variable visible to subshells?

Question78: Why is the xhost program considered dangerous to use?

Question79: Which of the following commands shows the current color depth of the X Server?

Question80: Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

Question81: Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

Question82: The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:

Question83: Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Question84: Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Question85: For accessibility assistance, which of the following programs is an on-screen keyboard?

Question86: When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?